package com.mdd.admin.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("还款计划减免记录创建参数")
public class DeductionRecordsCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "repaymentPlanNo参数缺失")
    @ApiModelProperty(value = "还款计划编码")
    private String repaymentPlanNo;

    @NotNull(message = "oldRent参数缺失")
    @ApiModelProperty(value = "原租金")
    private BigDecimal oldRent;

    @NotNull(message = "newRent参数缺失")
    @ApiModelProperty(value = "现租金")
    private BigDecimal newRent;

    @NotNull(message = "oldLiquidatedDamages参数缺失")
    @ApiModelProperty(value = "原违约金")
    private BigDecimal oldLiquidatedDamages;

    @NotNull(message = "newLiquidatedDamages参数缺失")
    @ApiModelProperty(value = "现违约金")
    private BigDecimal newLiquidatedDamages;

    @NotNull(message = "deductionNo参数缺失")
    @ApiModelProperty(value = "减免记录编码")
    private String deductionNo;
}
